use sqlx::PgPool;

pub mod psqlx;
pub mod serialize_tools;
pub mod pagination;
pub mod xerror;
pub mod xsession;
pub mod psqlx_tools;
pub mod pwd;
pub mod auth_middleware;

#[derive(Clone)]
pub struct AppState {
    pub db: PgPool,
    // pub redis: RedisClient,
}